#ifndef PLAYLISTWIDGET_H
#define PLAYLISTWIDGET_H

#include <QObject>
#include <QMetaObject>
#include <QTableWidget>
#include <QHeaderView>

#include "Playlist.h"
#include "Observer.h"

class PlaylistWidget : public QTableWidget, public Observer
{
Q_OBJECT

public:
    PlaylistWidget (Playlist * thePlaylist);
	void notify (Observable * obj, int eventCode);

protected slots:
    void playlistUpdated ();

private:
    Playlist		* playlist;
};

#endif
